﻿$(function () {
    $("#Topnavigation").hide();
    //delete the cookie
    $.cookie("MainCookie", null, { path: '/', expires: -5 });
    $.cookie("PlanCookie", null, { path: '/', expires: -5 });
    $.cookie("ckUserID", null, { path: '/', expires: -5 });
    $.cookie("ckChangePlan", null, { path: '/', expires: -5 });
    $.cookie("UserLoginChk", null, { path: '/', expires: -5 });
});
$('#hrefPlanID').live('click', function () {
    var selectedplan = $(this).text();
    $('#hdnplanID').val($(this).attr('rel'));
    var planID = $('#hdnplanID').val();
    var obj = planID + '|' + planID + '|' + selectedplan;
    $.cookie("MainCookie", obj, { path: '/', expires: 1 });
});

